package io.geekidea.springbootplus.system.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@ApiModel(value = "SysOrderDetails对象", description = "订单详情")
public class SysOrderDetailsQueryVo implements Serializable {
    private static final long serialVersionUID = 3027884381217519119L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("订单编号")
    private Long orderId;

    @ApiModelProperty("商品编号")
    private Integer productId;

    @ApiModelProperty("购买数量")
    private Integer quantity;

    @ApiModelProperty("小计")
    private BigDecimal subtotal;

    @ApiModelProperty("商品售价")
    private BigDecimal productPrice;

    @ApiModelProperty("商品封面")
    private String productCover;

    @ApiModelProperty("商品名称")
    private String productName;
}
